package com.yc.clouduser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzk
 * @since 2024-10-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("chat")
public class Chat implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("cid")
    private Integer cid;

    @TableField("uid")
    private Integer uid;

    @TableField("say")
    private String say;

    @TableField("time")
    private Timestamp time;

    @TableField("status")
    private Integer status;


}
